package ${package.Controller};

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

<#if superControllerClassPackage??>
    import ${superControllerClassPackage};
</#if>

/**
* ${table.comment!}
*
* @author ${author}
* @since ${date}
*/
@RestController
@RequestMapping("api/<#if package.ModuleName?? && package.ModuleName != "">${package.ModuleName}</#if><#if controllerMappingHyphenStyle>${controllerMappingHyphen}<#else>${table.entityPath}</#if>/v1")
<#if kotlin>class ${table.controllerName}<#if superControllerClass??> : ${superControllerClass}()</#if>
<#else>
    <#if superControllerClass??>public class ${table.controllerName} extends ${superControllerClass} {
    <#else>public class ${table.controllerName} {
    </#if>}
</#if>